//
//  ViewController.m
//  001--OC对象
//
//  Created by H on 2019/1/17.
//  Copyright © 2019年 LogicEDU. All rights reserved.
//

#import "ViewController.h"
#import "Person.h"
@interface ViewController ()

@end

@implementation ViewController

static int a = 7;

//int func(int x){
//    return (x+a) >>3 << 3;
//}
/*
 NSLog(@"%d",func(1));
 NSLog(@"%d",func(8));
 NSLog(@"%d",func(9));
 NSLog(@"%d",func(17));
 NSLog(@"%d",func(25));
 */

- (void)viewDidLoad {
    [super viewDidLoad];
   
    
    Person * p = [Person alloc];
    p = [p init];
    p.age = 10;
//    NSLog(@"%d",p.age);
    
    
 }


@end
